Is the SSH-Service on your ESXi disabled?

In times like these, where daily security leaks are published, it’s time to check some basics. Run the following PowerCLI Script to see if the SSH-Service is running and disable it! #List Hosts into Array $arr = @() $arr = (Get-VMHost * | Foreach {($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”})} | select VMHost,Label,Policy,Running | Sort VMHost) #Filter running SSH or Enabled $sshOn = $arr | Where-Object { ($_.Running -eq “True”) -or ($_.Policy -eq “on”) } #If SSH on -> … Continue reading Is the SSH-Service on your ESXi disabled?